package com.example.demo.repository;

import com.example.demo.domain.Message;
import com.example.demo.domain.Question;
import com.example.demo.domain.Share;
import com.example.demo.domain.other.KeyValue;
import com.example.demo.viewmodel.admin.message.MessagePageRequestVM;
import com.example.demo.viewmodel.admin.question.QuestionPageRequestVM;
import com.example.demo.viewmodel.admin.share.SharePageRequestVM;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;


/**
 * shareMapper接口
 *
 * @author dszz
 * @date 2022-03-07
 */
@Mapper
public interface ShareMapper extends BaseMapper<Message> {
    //selectALL
    List<Message> page(MessagePageRequestVM requestVM);
    //select by id
    List<Message> selectByIds(List<Integer> ids);
    //read
    int readAdd(Integer id);
}
